package com.zzl.admin.dao.base;

import com.zzl.admin.entity.base.BaseEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

import java.io.Serializable;

/**
 * Description：基础DAO
 * Created by 朱正磊 on 2019-03-21 23:09
 */
@NoRepositoryBean
public interface BaseDao<T extends BaseEntity, ID extends Serializable>
        extends JpaRepository<T, ID>, JpaSpecificationExecutor<T> {

}
